#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, btntype)
{
    btntypeTitle = 0,
    btntypeImage,
};
typedef NS_ENUM(NSInteger, btnState)
{
    btnStateLeft = 0,
    btnStateRight,
};
@interface BaseViewController : UIViewController
@property (nonatomic,strong) UIButton *rightButton;
@property(nonatomic,strong)  UITableView *tableView;
- (void)SetupRightZLingItem:(NSString *)title isZLingImage:(Boolean)isImage;
- (void)BtnRightZLingAction:(UIButton *)sender;
-(void)showLoginViewController;
#pragma mark - 这部分是导航栏的

/**
 设置导航栏左右按钮

 @param title 标题或者图片的名称
 @param TitleOrImage 设置的是标题还是图片
 @param LeftOrRight 设置的左边按钮还是右边按钮
 @return 返回一个按钮
 */
-(UIButton *)skCreatBtn:(NSString *)title btnTitleOrImage:(btntype)TitleOrImage btnLeftOrRight:(btnState)LeftOrRight;
@end
